package com.maybach.common.query;


import com.maybach.util.query.support.BaseQuery;
import com.maybach.util.query.support.BaseCriteria;
import org.apache.commons.lang.builder.ReflectionToStringBuilder;
import org.apache.commons.lang.builder.ToStringStyle;

import java.io.Serializable;

import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class ActLogQuery extends BaseQuery implements Serializable {
    private static final long serialVersionUID = 1L;

    public ActLogQuery() {
        super();
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        super.oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    /**
     * This class corresponds to the database table b2b_act_log
     */
    protected abstract static class GeneratedCriteria extends BaseCriteria {

        protected GeneratedCriteria() {
            super();
        }

        public Criteria andIdIsNull() {
            addCriterion("id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Long value) {
            addCriterion("id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Long value) {
            addCriterion("id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Long value) {
            addCriterion("id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Long value) {
            addCriterion("id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Long value) {
            addCriterion("id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Long value) {
            addCriterion("id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Long> values) {
            addCriterion("id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Long> values) {
            addCriterion("id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Long value1, Long value2) {
            addCriterion("id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Long value1, Long value2) {
            addCriterion("id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNull() {
            addCriterion("gmt_create is null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIsNotNull() {
            addCriterion("gmt_create is not null");
            return (Criteria) this;
        }

        public Criteria andGmtCreateEqualTo(Date value) {
            addCriterion("gmt_create =", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotEqualTo(Date value) {
            addCriterion("gmt_create <>", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThan(Date value) {
            addCriterion("gmt_create >", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_create >=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThan(Date value) {
            addCriterion("gmt_create <", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateLessThanOrEqualTo(Date value) {
            addCriterion("gmt_create <=", value, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateIn(List<Date> values) {
            addCriterion("gmt_create in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotIn(List<Date> values) {
            addCriterion("gmt_create not in", values, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateBetween(Date value1, Date value2) {
            addCriterion("gmt_create between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtCreateNotBetween(Date value1, Date value2) {
            addCriterion("gmt_create not between", value1, value2, "gmtCreate");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNull() {
            addCriterion("gmt_modified is null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIsNotNull() {
            addCriterion("gmt_modified is not null");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedEqualTo(Date value) {
            addCriterion("gmt_modified =", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotEqualTo(Date value) {
            addCriterion("gmt_modified <>", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThan(Date value) {
            addCriterion("gmt_modified >", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedGreaterThanOrEqualTo(Date value) {
            addCriterion("gmt_modified >=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThan(Date value) {
            addCriterion("gmt_modified <", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedLessThanOrEqualTo(Date value) {
            addCriterion("gmt_modified <=", value, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedIn(List<Date> values) {
            addCriterion("gmt_modified in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotIn(List<Date> values) {
            addCriterion("gmt_modified not in", values, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedBetween(Date value1, Date value2) {
            addCriterion("gmt_modified between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andGmtModifiedNotBetween(Date value1, Date value2) {
            addCriterion("gmt_modified not between", value1, value2, "gmtModified");
            return (Criteria) this;
        }

        public Criteria andBizTypeIsNull() {
            addCriterion("biz_type is null");
            return (Criteria) this;
        }

        public Criteria andBizTypeIsNotNull() {
            addCriterion("biz_type is not null");
            return (Criteria) this;
        }

        public Criteria andBizTypeEqualTo(String value) {
            addCriterion("biz_type =", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotEqualTo(String value) {
            addCriterion("biz_type <>", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeGreaterThan(String value) {
            addCriterion("biz_type >", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeGreaterThanOrEqualTo(String value) {
            addCriterion("biz_type >=", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeLessThan(String value) {
            addCriterion("biz_type <", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeLessThanOrEqualTo(String value) {
            addCriterion("biz_type <=", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeLike(String value) {
            addCriterion("biz_type like", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotLike(String value) {
            addCriterion("biz_type not like", value, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeIn(List<String> values) {
            addCriterion("biz_type in", values, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotIn(List<String> values) {
            addCriterion("biz_type not in", values, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeBetween(String value1, String value2) {
            addCriterion("biz_type between", value1, value2, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizTypeNotBetween(String value1, String value2) {
            addCriterion("biz_type not between", value1, value2, "bizType");
            return (Criteria) this;
        }

        public Criteria andBizIdIsNull() {
            addCriterion("biz_id is null");
            return (Criteria) this;
        }

        public Criteria andBizIdIsNotNull() {
            addCriterion("biz_id is not null");
            return (Criteria) this;
        }

        public Criteria andBizIdEqualTo(Long value) {
            addCriterion("biz_id =", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotEqualTo(Long value) {
            addCriterion("biz_id <>", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdGreaterThan(Long value) {
            addCriterion("biz_id >", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdGreaterThanOrEqualTo(Long value) {
            addCriterion("biz_id >=", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdLessThan(Long value) {
            addCriterion("biz_id <", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdLessThanOrEqualTo(Long value) {
            addCriterion("biz_id <=", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdLike(Long value) {
            addCriterion("biz_id like", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotLike(Long value) {
            addCriterion("biz_id not like", value, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdIn(List<Long> values) {
            addCriterion("biz_id in", values, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotIn(List<Long> values) {
            addCriterion("biz_id not in", values, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdBetween(Long value1, Long value2) {
            addCriterion("biz_id between", value1, value2, "bizId");
            return (Criteria) this;
        }

        public Criteria andBizIdNotBetween(Long value1, Long value2) {
            addCriterion("biz_id not between", value1, value2, "bizId");
            return (Criteria) this;
        }

        public Criteria andActorNameIsNull() {
            addCriterion("actor_name is null");
            return (Criteria) this;
        }

        public Criteria andActorNameIsNotNull() {
            addCriterion("actor_name is not null");
            return (Criteria) this;
        }

        public Criteria andActorNameEqualTo(String value) {
            addCriterion("actor_name =", value, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameNotEqualTo(String value) {
            addCriterion("actor_name <>", value, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameGreaterThan(String value) {
            addCriterion("actor_name >", value, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameGreaterThanOrEqualTo(String value) {
            addCriterion("actor_name >=", value, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameLessThan(String value) {
            addCriterion("actor_name <", value, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameLessThanOrEqualTo(String value) {
            addCriterion("actor_name <=", value, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameLike(String value) {
            addCriterion("actor_name like", value, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameNotLike(String value) {
            addCriterion("actor_name not like", value, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameIn(List<String> values) {
            addCriterion("actor_name in", values, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameNotIn(List<String> values) {
            addCriterion("actor_name not in", values, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameBetween(String value1, String value2) {
            addCriterion("actor_name between", value1, value2, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorNameNotBetween(String value1, String value2) {
            addCriterion("actor_name not between", value1, value2, "actorName");
            return (Criteria) this;
        }

        public Criteria andActorIdIsNull() {
            addCriterion("actor_id is null");
            return (Criteria) this;
        }

        public Criteria andActorIdIsNotNull() {
            addCriterion("actor_id is not null");
            return (Criteria) this;
        }

        public Criteria andActorIdEqualTo(Long value) {
            addCriterion("actor_id =", value, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdNotEqualTo(Long value) {
            addCriterion("actor_id <>", value, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdGreaterThan(Long value) {
            addCriterion("actor_id >", value, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdGreaterThanOrEqualTo(Long value) {
            addCriterion("actor_id >=", value, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdLessThan(Long value) {
            addCriterion("actor_id <", value, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdLessThanOrEqualTo(Long value) {
            addCriterion("actor_id <=", value, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdLike(Long value) {
            addCriterion("actor_id like", value, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdNotLike(Long value) {
            addCriterion("actor_id not like", value, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdIn(List<Long> values) {
            addCriterion("actor_id in", values, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdNotIn(List<Long> values) {
            addCriterion("actor_id not in", values, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdBetween(Long value1, Long value2) {
            addCriterion("actor_id between", value1, value2, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorIdNotBetween(Long value1, Long value2) {
            addCriterion("actor_id not between", value1, value2, "actorId");
            return (Criteria) this;
        }

        public Criteria andActorLabelIsNull() {
            addCriterion("actor_label is null");
            return (Criteria) this;
        }

        public Criteria andActorLabelIsNotNull() {
            addCriterion("actor_label is not null");
            return (Criteria) this;
        }

        public Criteria andActorLabelEqualTo(String value) {
            addCriterion("actor_label =", value, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelNotEqualTo(String value) {
            addCriterion("actor_label <>", value, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelGreaterThan(String value) {
            addCriterion("actor_label >", value, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelGreaterThanOrEqualTo(String value) {
            addCriterion("actor_label >=", value, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelLessThan(String value) {
            addCriterion("actor_label <", value, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelLessThanOrEqualTo(String value) {
            addCriterion("actor_label <=", value, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelLike(String value) {
            addCriterion("actor_label like", value, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelNotLike(String value) {
            addCriterion("actor_label not like", value, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelIn(List<String> values) {
            addCriterion("actor_label in", values, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelNotIn(List<String> values) {
            addCriterion("actor_label not in", values, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelBetween(String value1, String value2) {
            addCriterion("actor_label between", value1, value2, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActorLabelNotBetween(String value1, String value2) {
            addCriterion("actor_label not between", value1, value2, "actorLabel");
            return (Criteria) this;
        }

        public Criteria andActTitleIsNull() {
            addCriterion("act_title is null");
            return (Criteria) this;
        }

        public Criteria andActTitleIsNotNull() {
            addCriterion("act_title is not null");
            return (Criteria) this;
        }

        public Criteria andActTitleEqualTo(String value) {
            addCriterion("act_title =", value, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleNotEqualTo(String value) {
            addCriterion("act_title <>", value, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleGreaterThan(String value) {
            addCriterion("act_title >", value, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleGreaterThanOrEqualTo(String value) {
            addCriterion("act_title >=", value, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleLessThan(String value) {
            addCriterion("act_title <", value, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleLessThanOrEqualTo(String value) {
            addCriterion("act_title <=", value, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleLike(String value) {
            addCriterion("act_title like", value, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleNotLike(String value) {
            addCriterion("act_title not like", value, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleIn(List<String> values) {
            addCriterion("act_title in", values, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleNotIn(List<String> values) {
            addCriterion("act_title not in", values, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleBetween(String value1, String value2) {
            addCriterion("act_title between", value1, value2, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActTitleNotBetween(String value1, String value2) {
            addCriterion("act_title not between", value1, value2, "actTitle");
            return (Criteria) this;
        }

        public Criteria andActDetailIsNull() {
            addCriterion("act_detail is null");
            return (Criteria) this;
        }

        public Criteria andActDetailIsNotNull() {
            addCriterion("act_detail is not null");
            return (Criteria) this;
        }

        public Criteria andActDetailEqualTo(String value) {
            addCriterion("act_detail =", value, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailNotEqualTo(String value) {
            addCriterion("act_detail <>", value, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailGreaterThan(String value) {
            addCriterion("act_detail >", value, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailGreaterThanOrEqualTo(String value) {
            addCriterion("act_detail >=", value, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailLessThan(String value) {
            addCriterion("act_detail <", value, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailLessThanOrEqualTo(String value) {
            addCriterion("act_detail <=", value, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailLike(String value) {
            addCriterion("act_detail like", value, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailNotLike(String value) {
            addCriterion("act_detail not like", value, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailIn(List<String> values) {
            addCriterion("act_detail in", values, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailNotIn(List<String> values) {
            addCriterion("act_detail not in", values, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailBetween(String value1, String value2) {
            addCriterion("act_detail between", value1, value2, "actDetail");
            return (Criteria) this;
        }

        public Criteria andActDetailNotBetween(String value1, String value2) {
            addCriterion("act_detail not between", value1, value2, "actDetail");
            return (Criteria) this;
        }

    }

    /**
     * This class corresponds to the database table b2b_act_log
    */
    public  static class Criteria extends GeneratedCriteria{
        protected Criteria() {
            super();
        }
    }



    @Override
    public String toString(){
        return ReflectionToStringBuilder.toString(this, ToStringStyle.DEFAULT_STYLE);
    }
}